<template>
  <div class="content">
    <h1 class="title">{{ title }}</h1>
    <p class="desc" v-html="desc"></p>
    <div class="dash-border"></div>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'Container',
  props: {
    title: {
      type: String,
      default: ''
    },
    desc: {
      type: String,
      default: ''
    },
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
.content{
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0 121px;
    &>.title{
        font-size: 32px;
        color: #333;
        margin: 68px 0 20px 0;
    }
    &>.desc{
      font-size: 15px;
      font-size: 15px;
      font-family: Arial;
      font-weight: 400;
      color: #333333;
      opacity: 0.4;
    }
    &>.dash-border{
        width: 715px;
        height: 1px;
        border: 1px dashed #999;
        margin: 23px auto;
    }
}
</style>
